<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" 
		contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<title>Person List</title>
	<script type="text/javascript">
	</script>
</head>
<body>
	<h1>Update The Person</h1>

	<p>Use the form below to edit your information.</p>

	<s:form action="test/person!save.action" method="post" theme="xhtml">
		<s:hidden name="id" />
		<label>${lastName}</label>
<%-- 		<s:textfield key="${ entity.firstName}" />  --%>
	<!--	<s:textfield name="personBean.firstName" label="getText(personBean.firstName)" />-->
		<s:textfield key="lastName" /> 
		<s:select key="sport" list="sports" />
		<s:radio key="gender" list="genders" />
		<s:select key="residency" list="states" listKey="stateAbbr" listValue="stateName" />
		<s:checkbox key="over21" />
		<s:checkboxlist key="carModels" list="carModelsAvailable"  />
		
		<s:submit key="submit" />
	</s:form>
	<s:debug />
</body>
</html>
